home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / wbgames / protris / protris.guide (.txt) < prev    next >
Amigaguide Document  |  1996-04-07  |  24KB  |  507 lines

  1. @database "ProTris"
  2. @author "Protec/Mirage"
  3. @(c) "Copyright 
  4.  1994 Protec/Mirage"
  5. @$VER: ProTris.guide V1.1 (21/6/94)
  6. @width 77
  7. ****************************************************************************
  8. @node Main "ProTris" 
  9. @toc "Contents
  10.                  ProTris V1.1 
  11. 1993-1994 by Protec/Mirage
  12.                          archived on 21 June 1994
  13. @{ub}
  14.                             @{"Shareware notice " Link "shareware"}
  15.                             @{"Copyrights       " Link "copyrights"}
  16.                             @{"Introduction     " Link "Introduction"}
  17.                             @{"Requirements     " Link "Requirements"}
  18.                             @{"Installation     " Link "InstallWB"}
  19.                             @{"Usage            " Link "Usage"}
  20.                             @{"History          " Link "History"}
  21. @EndNode
  22. ****************************************************************************
  23. @node shareware
  24.                               Shareware notice
  25. @{ub}
  26. ProTris  is shareware which means you should send me some amount of money if
  27. you  like this program.  You can also send something you programmed yourself
  28. which  I  will  accept  as  the  payment for ProTris.  ProTris may be freely
  29. distributed as long as the archive is left intact and no changes are made to
  30. the  contents of any file.  It is not allowed to sell ProTris (for more than
  31. the  usual amount of money asked for a PD disk) unless there is an agreement
  32. with me.
  33. Send money/bug reports/suggestions to:
  34.     Protec/Mirage
  35.     Transvaalplein 37
  36.     5021 TD  Tilburg
  37.     The Netherlands
  38. @EndNode
  39. ****************************************************************************
  40. @node copyrights
  41.                          ProTris Copyright Notices
  42. @{ub}
  43.                                 ProTris V1.1
  44.               Copyright 
  45.  1994 by Protec/Mirage (E.v.Berkel).
  46.                  ProTris makes use of the Reqtools.library,
  47.             This library is copyright 1991-94 by Nico Fran
  48.                                  Thanks to:
  49.                                  BLO/Mirage
  50.                                 JACK/Mirage
  51.                                 RETEP/Mirage
  52.                                TOMCAT/Mirage
  53.                                 JAKE/Mirage
  54.                               D-STAR/Anaconda
  55.                          for 
  56. -testing and sampling
  57. @endnode
  58. ****************************************************************************
  59. @Node "Introduction"
  60.                                 Introduction
  61. @{ub}
  62. ProTris  is  a  Tetris clone to use on the Workbench screen of the Amiga.  I
  63. decided  to  make  it as a learning project to understand more of the Amiga-
  64. operating system and to enjoy myself while backuping or other boring duties.
  65. At this moment there is one sampleset available of Beavis and Butthead.  The
  66. sample-archives  will  be spread on the Bulletin Boards.  All the samples in
  67. the archive are less than 128 kilobytes.
  68. @EndNode
  69. ****************************************************************************
  70. @Node "Requirements"
  71.                                 Requirements
  72. @{ub}
  73. To  run  ProTris  you need:
  74. - Kickstart V2.04 or greater.
  75. - reqtools.library    (copyrighted by Nico Fran
  76. - iffparse.library
  77. - amigaguide.library  (only for online help-system)
  78. @EndNode
  79. ****************************************************************************
  80. @Node "InstallWB"
  81.                       Installation using the Workbench
  82. @{ub}
  83. ProTris.lha should contain the following files:
  84. Install
  85. Install.info
  86. ProTris
  87. ProTris.info
  88. ProTris.guide
  89. ProTris.guide.info
  90. ProTrisSamples.info
  91. c/Installer
  92. libs/reqtools.library
  93. ProTrisSamples/Double.iff
  94. ProTrisSamples/Drop.iff
  95. ProTrisSamples/GameOver.iff
  96. ProTrisSamples/NewGame.iff
  97. ProTrisSamples/Quad.iff
  98. ProTrisSamples/Rotate.iff
  99. ProTrisSamples/Single.iff
  100. ProTrisSamples/Triple.iff
  101. To  use  the  install-script you need the installer which is copyrighted by
  102. Commodore  and  is included in this archive.  Double click the install-icon
  103. to  install  ProTris.   You will now be asked to select a drawer to install
  104. ProTris  to.   In  the  selected  drawer, a subdrawer will be created named
  105. ProTris   and   all   needed  files  are  copied  into  that  drawer.   The
  106. reqtools.library will automatically be installed if no version is installed
  107. yet.  If everything goes right ProTris is now ready to play.
  108. Since ProTris v1.1 there's also a Magic-WB icon included.  This icon can be
  109. used  instead  of  the  normal icon.  It is possible that the colors of the
  110. icon  are  not correct for you if you use more than 16 colors.  You can use
  111. IE or a similar program to swap the colors of the icon.
  112. @EndNode
  113. ****************************************************************************
  114. @Node "Usage"
  115.                                    Usage
  116. @{ub}
  117. Doubleclick the ProTris-icon to start ProTris.  A window will appear on your
  118. workbench screen.  This is the mainwindow and contains the following items:
  119.                                   Gadgets
  120. @{ub}
  121.                          @{"Pause/Play Cycle gadget" link "PausePlay"}
  122.                          @{"New game gadget        " link "New game"}
  123.                                    Boxes
  124. @{ub}
  125.                          @{"Next block box         " link "Next block box"}
  126.                          @{"Status box             " link "Status box"}
  127.                                Pulldown menus
  128. @{ub}
  129. @{fg highlight}            Project                Window                Settings@{fg text}
  130.      @{"New Game            " link "New game" }  @{"HighScores...       " link "HighScores"  }  @{"Sample Settings...  " link "sampset"        }
  131.      @{"Pause Game          " link "PausePlay"}  @{"Statistics...       " link "Statistics"  }  @{"Edit Block Colors..." link "EditBlockColors"}
  132.      @{"About...            " link "About"    }  @{"Size to aspect      " link "SizeToAspect"}  @{"Disable Sound       " link "DisableSound"   }
  133.      @{"Quit                " link "Quit"     }  @{}                     @{                  }  @{"Save Settings       " link "SaveSettings"   }
  134. Most  menu-items  have a shortcut key connected to it so they can be pressed
  135. if you want to perform the specific action.
  136.                                   Controls
  137. @{ub}
  138. ProTris can be controlled by joystick or keyboard.
  139. Joystick controls:        Keyboard controls (cursor keys):
  140. Left:   Move block left        Left:   Move block left
  141. Right:  Move block right    Right:  Move block right
  142. Down:   Drop block down        Down:   Drop block down
  143. Button: Rotate block        Up:     Rotate block
  144. Press  <HELP>  if  you want to get some information about the current active
  145. window.   Actually  amigaguide  will  be  called  and  shows the appropriate
  146. section  of  this  document.   Be  sure  you  have this document in the same
  147. directory as ProTris itself.  Close amigaguide to continue the game.
  148. If  you  activate  another  window  as  the  ProTris-mainwindow ProTris will
  149. automatically  switch to the paused-state.  To continue the game you'll have
  150. to select the @{"Pause/Play cycle gadget" link "PausePlay"} or press the joystick-button.
  151. The  size  of  the  main-window  can be changed using the size-gadget in the
  152. lower-right  corner.  Protris will then be adjusted to fit in the window, so
  153. you  can  make the window full-screen with large blocks or small-window with
  154. very tiny blocks.
  155. @EndNode
  156. ****************************************************************************
  157. @Node "PausePlay"
  158.                                  Pause/Play
  159. @{ub}
  160. Select  if you want to pause the game.  Select again to play.  The status of
  161. the  game will be displayed in a cycle-gadget in the main window of ProTris.
  162. If  the  game is paused it is also possible to continue the game by pressing
  163. the joystick-button.
  164. @EndNode
  165. ****************************************************************************
  166. @Node "New game"
  167.                                   New game
  168. @{ub}
  169. Select  to  (re)start the game.  The statistics window will be reset and the
  170. newgame-sample will be played.
  171. @EndNode
  172. ****************************************************************************
  173. @Node "Next block box"
  174.                                Next block box
  175. @{ub}
  176. This box shows the next block that will fall down.
  177. @EndNode
  178. ****************************************************************************
  179. @Node "Status box"
  180.                                  Status box
  181. @{ub}
  182. This box has the following contents:
  183. @{fg highlight}Score:@{fg text} you can earn points in several ways:
  184.        - For  each  block  you  drop  down you get the amount of the current
  185.          level
  186.        - If  you  have  a  single  full  line you will get the amount of the
  187.          current level multiplied by 10
  188.        - If  you  have  a  double  full  line you will get the amount of the
  189.          current level multiplied by 20
  190.        - Etc.
  191. @{fg highlight}Lines:@{fg text} The number of lines you have wiped out.
  192. @{fg highlight}Level:@{fg text} For every ten lines you will go one level upwards.
  193. @EndNode
  194. ****************************************************************************
  195. @node "About"
  196.                                    About
  197. @{ub}
  198. This function shows some very important information.
  199. @EndNode
  200. ****************************************************************************
  201. @node "Quit"
  202.                                     Quit
  203. @{ub}
  204. When you select this, you will immediately leave ProTris.
  205. @EndNode
  206. ****************************************************************************
  207. @node "HighScores"
  208. @{b}                                High scores
  209. @{ub}
  210. The  highscores-window  can  be  opened  by  selecting  it's menu-item in de
  211. window-menu  or  by pressing the shortcut-key RIGHT-AMIGA + H.  It shows the
  212. top  ten  scores of ProTris.  The last name which was added to the list will
  213. be  highlightwd.   The highscores will be saved automatically when you enter
  214. the  top  ten  list.   The  highscores  are  saved in a seperate file called
  215. ProTris.highscores, in the same directory as where ProTris is located.
  216. @EndNode
  217. ****************************************************************************
  218. @node "Statistics"
  219.                                  Statistics
  220. @{ub}
  221. The  statistics-window  can  be  opened  by  selecting  it's menu-item in de
  222. window-menu  or  by  pressing  the shortcut-key RIGHT-AMIGA + S.  It shows a
  223. diagram  with  seven  bars.   Each bar represents the total number of blocks
  224. which  fell down of the each color.  You can change the window-size with the
  225. size-gadget  in  the  lower-right bottom.  The bars will then be adjusted to
  226. the new window-size.
  227. @EndNode
  228. ****************************************************************************
  229. @node "SizeToAspect"
  230.                               Size To Aspect
  231. @{ub}
  232. This  option  sizes the main window, so the blocks are drawn as sqaures.  To
  233. do  this  ProTris takes the current height of the window and uses the aspect
  234. ratio  of  the  screen to calculate the width of the window.  It is possible
  235. that the blocks are not 100% square, because of your monitor adjustments.
  236. @EndNode
  237. ****************************************************************************
  238. @node "SampSet"
  239.                               Sample Settings
  240. @{ub}
  241. The  sample  settings  can  be  opened  by  selecting  it's  menu-item in de
  242. settings-menu  or  by  pressing  the  shortcut-key  RIGHT-AMIGA  +  E.   The
  243. sample-settings window contains the following gadgets:
  244.                  @{fg highlight}Select sample for@{fg text} @{"@|       Single        " link "SampSetCycle"}
  245.                  @{fg highlight}      Sample name@{fg text} @{"Sample.iff           " link "SampSetString"}@{"
  246. " link "SampSetFile"}
  247.                  @{fg highlight}                 @{fg text} @{"    Test Sample        " link "SampSetTest"}
  248.                  @{"    Save    " link "SaveSettings"} @{"    Use     " link "SampSetUse"} @{"   Cancel    " link "SampSetCancel"}
  249.                   Select a button to get more information.
  250. @EndNode
  251. ****************************************************************************
  252. @node "SampSetCycle"
  253.                         Sample settings cycle-gadget
  254. @{ub}
  255. Select  the  action  you want another sample for.  You can select one of the
  256. following actions:
  257. - Single:    You filled one line.
  258. - Double:    Two lines fall down at the same time.
  259. - Tripple:   You blew up three lines at once.
  260. - Quad:      Four lines are gone.
  261. - Drop:      Your block hits the floor.
  262. - Rotate:    You rotated the block.
  263. - New Game:  You selected the 'New Game'-option.
  264. - Game Over: You reached the top of the stack and no more blocks will fit.
  265. - HighScore: You entered the highscores.
  266. @EndNode
  267. ****************************************************************************
  268. @node "SampSetString"
  269.                        Sample settings string-gadget
  270. @{ub}
  271. Enter  the  name  and  path  for the sample you want to play at the selected
  272. action  (e.g.   HD1:Games/ProTris/ProTrisSamples/Single.iff).  The file must
  273. be in IFF-8SVX format and may not be larger than 128 Kbytes.
  274. @EndNode
  275. ****************************************************************************
  276. @node "SampSetFile"
  277.                         Sample settings file-gadget
  278. @{ub}
  279. Instead of typing the filename you can select this button.  It will bring up
  280. a file-requester where you can select the samplename.
  281. @EndNode
  282. ****************************************************************************
  283. @node "SampSetTest"
  284.                      Sample settings test sample gadget
  285. @{ub}
  286. This button tries to play the currently selected sample.
  287. @EndNode
  288. ****************************************************************************
  289. @node "EditBlockColors"
  290.                                Color Settings
  291. @{ub}
  292. The  color-settings  window  can be opened by selecting it's menu-item in de
  293. settings-menu  or  by  pressing  the  shortcut-key  RIGHT-AMIGA  +  C.   The
  294. color-settings window contains the following gadgets:
  295.                  @{fg highlight}   Edit Colors for   @{fg text}
  296.                  @{         }@{"@|     L block       " link "ColorSetBlock"} @{" Color Preview " link "ColorPreview"}
  297.                  @{         }@{" Color selector 1 " link "ColorSel1"} @{" Color selector 2 " link "ColorSel1"}
  298.                  
  299.                  @{"   Save    " link "SaveSettings"} @{"    Use    " link "ColorSetUse"} @{"   Cancel   " link "ColorSetCancel"}
  300.                   Select a button to get more information.
  301. @EndNode
  302. ****************************************************************************
  303. @node "ColorSetBlock"
  304.                         Color Settigns Cycle Gadget
  305. @{ub}
  306. With  this  cyclegadget you can select the block of which you want to change
  307. the color from.
  308. All the blocks are represented by an letter:
  309. @{fg highlight}
  310. L block    L'block    Z block    Z'block    O block    I block    T block@{fg text}
  311.   _           _                                           _
  312.  |_|         |_|       _ _          _ _       _ _        |_|       _ _ _
  313.  |_|_       _|_|      |_|_|_      _|_|_|     |_|_|       |_|      |_|_|_|
  314.  |_|_|     |_|_|        |_|_|    |_|_|       |_|_|       |_|        |_|
  315.                                                          |_|
  316. @endnode
  317. ****************************************************************************
  318. @node "ColorPreview"
  319.                                Color Preview
  320. @{ub}
  321. This area shows the currently selected block with it's current colors.
  322. @endnode
  323. ****************************************************************************
  324. @node "ColorSel1"
  325.                                Color selectors
  326. @{ub}
  327. All the blocks are filled with a raster.  This raster consists of two colors
  328. which  you  can  select with the two color selectors in this window.  If you
  329. want a solid color, you just select the same color in both selectors.
  330. @endnode
  331. ****************************************************************************
  332. @node "ColorSetUse"
  333.                          Color settings use gadget
  334. @{ub}
  335. Use the current color settings but don't save them to disk.
  336. @endnode
  337. ****************************************************************************
  338. @node "ColorSetCancel"
  339.                         Color settings cancel gadget
  340. @{ub}
  341. This  button  has  the  same affect as the close gadget of the window so the
  342. changes to the color-settings or not used.
  343. @EndNode
  344. ****************************************************************************
  345. @node "SaveSettings"
  346.                                Save settings
  347. @{ub}
  348. Save  the current settings to ProTris' icon.  All settings will be stored as
  349. tooltypes  in  ProTris'  icon.   Those  tooltypes  will  be loaded each time
  350. ProTris is started.
  351. Recognised tooltypes are:
  352. MainX=<value>
  353. MainY=<value>
  354. MainWidth=<value>
  355. MainHeight=<value>
  356. SampleSettingsX=<value>
  357. SampleSettingsY=<value>
  358. ColorSettingsX=<value>
  359. ColorSettingsY=<value>
  360. StatsX=<value>
  361. StatsY=<value>
  362. StatsWidth=<value>
  363. StatsHeight=<value>
  364. HighScoreX=<value>
  365. HighScoreY=<value>
  366. SampleSingle=<string>
  367. SampleDouble=<string>
  368. SampleTriple=<string>
  369. SampleQuad=<string>
  370. SampleDrop=<string>
  371. SampleRotate=<string>
  372. SampleNewGame=<string>
  373. SampleGameOver=<string>
  374. SampleHighScore=<string>
  375. StatsWindow=<boolean>
  376. HighScoreWindow=<boolean>
  377. Sound=<boolean>
  378. Block1Colors=<value>|<value>
  379. Block2Colors=<value>|<value>
  380. Block3Colors=<value>|<value>
  381. Block4Colors=<value>|<value>
  382. Block5Colors=<value>|<value>
  383. Block6Colors=<value>|<value>
  384. Block7Colors=<value>|<value>
  385. Al  the  X-values  represent the amount of pixels which a window is position
  386. relative  to  the  left  edge  of the screen.  Al the Y-values represent the
  387. amount  of pixels which a window is position relative to the top edge of the
  388. screen.   The  Width-values  represent the amount of pixels a window is wide
  389. and The Height-values represent the amount of pixels a window is heigh.  The
  390. strings must contain a complete path and name to each sample.
  391. Boolean types are "yes" or "no".
  392. Although  it  is  possible to edit al those tooltypes via the Workbench with
  393. the  menu-option  Icons-Information,  it  is  more convenient to let ProTris
  394. handle them for you.
  395. @EndNode
  396. ****************************************************************************
  397. @node "SampSetUse"
  398.                          Sample settings use gadget
  399. @{ub}
  400. Use the current sample settings but don't save them to disk.
  401. @EndNode
  402. ****************************************************************************
  403. @node "SampSetCancel"
  404.                        Sample settings cancel gadget
  405. @{ub}
  406. This  button  has  the  same affect as the close gadget of the window so the
  407. changes to the sample-settings or not used.
  408. @EndNode
  409. ****************************************************************************
  410. @node "DisableSound"
  411.                               Dis/Enable sound
  412. @{ub}
  413. This   function  frees  all  memory  used  by  the  samples  and  frees  the
  414. audio-channels.  When selected again, the audio-channels are allocated again
  415. and the samples are reloaded.
  416. @endnode
  417. ****************************************************************************
  418. @Node "History"
  419.                                   History
  420. @{ub}
  421.    ----------------------------------------------------------------------
  422. @{fg highlight}   ProTris v1.1@{fg text}
  423.    ----------------------------------------------------------------------
  424.    TO DO:
  425.    - Add use of public screens.
  426.    - Add option: Show next block on/off
  427.    - Add dual player mode.
  428.    - Add iconify option.
  429.    - Add mode with different levels with starting blocks (like real tetris).
  430.    KNOWN BUGS:
  431.    - When using screen blanker-commodity the screen goes blank while playing
  432.      (only when using joystick).
  433.    - When using a very large screenfont, the windows can be incorrect
  434.      (text overwrites the borders).
  435.    - Names which are to large to fit in highscore-window don't appear.
  436. Changes:
  437.    15 Jan 94: FIX - Testbutton in samplesettings crashed when no IFF-8SVX.
  438.    16 Jan 94: NEW - Color settings window to adjust block-colors.
  439.           NEW - Added the following tooltypes:
  440.  ColorSettingsX  = XPos Color settings window
  441.  ColorSettingsY  = YPos Color settings window
  442.  StatsWindow     = Boolean to open stats-window
  443.  HighScoreWindow = Boolean to open highscore-window
  444.  Block1Colors    = Contains 1 or 2 colors for block 1
  445.  Block2Colors    = Contains 1 or 2 colors for block 2
  446.  Block3Colors    = Contains 1 or 2 colors for block 3
  447.  Block4Colors    = Contains 1 or 2 colors for block 4
  448.  Block5Colors    = Contains 1 or 2 colors for block 5
  449.  Block6Colors    = Contains 1 or 2 colors for block 6
  450.  Block7Colors    = Contains 1 or 2 colors for block 7
  451.    17 Jan 94: NEW - Added keyboard support:
  452.  Cursor up    -> rotate      (same as joystick button)
  453.  Cursor left  -> move left
  454.  Cursor right -> move right
  455.  Cursor down  -> drop block
  456.    17 Jan 94: FIX - Highscore-bug fixed.
  457.    1  Feb 94: FIX - Bug fixed when colors-window canceled.
  458.    1  Feb 94: FIX - Sample player couldn't find rasterline when in Euro36.
  459.    9  Feb 94: NEW - Added option in window menu to size window so the blocks
  460.                will have a correct aspect ratio.
  461.    11 Feb 94: CHG - Now uses two audio-channels to play the single, double,
  462.             triple and quad samples. (Drop and rotate now use the
  463.             same channel).
  464.    14 Feb 94: FIX - Score display was calculated to small for some fonts.
  465.    15 Feb 94: FIX - Only main window was locked when entering hirgscorename.
  466.    17 Feb 94: FIX - Samples over 128K are now truncated correctly.
  467.    17 Feb 94: FIX - When samplesettings was canceled the testsample was not
  468.             turned off, which could result in some trashed sound.
  469.    17 Feb 94: FIX - Text in highscore window was not centered correctly.
  470.    17 Feb 94: FIX - New highscore was rendered in hardcoded color 2 instead
  471.             of HIGHLIGHTTEXTPEN.
  472.    17 Feb 94: FIX - Raster in window is now drawn in SHINEPEN instead of
  473.             always color 2.
  474.    17 Feb 94: FIX - Textlength calculation did also count underscores which
  475.             aren't actually displayed in the string.
  476.    17 Feb 94: CHG - The color-settings window now shows the block which is
  477.             being edited.
  478.    17 Feb 94: FIX - When starting a new game some blocks were not positioned
  479.             at the top of the view.
  480.    19 Feb 94: FIX - When there was not enough memory to open a settings-window
  481.                all windows kept it's disabled state, so the complete
  482.                program was locked.
  483.    19 Feb 94: NEW - Added 'dis/enable sound' option in settings menu. This
  484.                option frees all samples and the audiochannels.
  485.    28 Feb 94: FIX - MAJOR BUG FIX: ProTris didn't seem to work on Kickstart 2.0
  486.                at all. This was caused by a call to ScrollRasterBF, which
  487.                is not available at kick 2.0. I now replaced it with the
  488.                ScrollRaster function.
  489.                (Thanx to B. Scheltema for reporting this bug)
  490.    2  Mar 94: FIX - When started from CLI the CLI was locked after quit. This
  491.                     happened because I changed the Current directory and didn't
  492.                     change it back.
  493.    5  Mar 94: NEW - Added a new tooltype:
  494.  Sound           = Boolean to enable sound at startup.
  495.    5  Mar 94: CHG - Optimized code. Saved approx. 2000 bytes.
  496.                     
  497.    ----------------------------------------------------------------------
  498. @{fg highlight}  ProTris v1.0    (First version released to the public)@{fg text}
  499.    ----------------------------------------------------------------------
  500.    TO DO:
  501.    - Keyboard control.
  502.    KNOWN BUGS:
  503.    - When using screen blanker-commodity the screen goes blank while playing
  504.    - Samples over 128Kbyte are not handled correctly
  505.    - When entering the highscores at the last position something goes wrong.
  506. @EndNode
  507.